home *** CD-ROM | disk | FTP | other *** search
/ CICA 1993 April / CICA MS Windows - April 1993.iso / unzipped / programr / vbasic / 256vbcol / dibutil.h < prev    next >
Text File  |  1992-03-11  |  875b  |  32 lines

  1. // Some macros.
  2.  
  3. #define RECTWIDTH(lpRect)     ((lpRect)->right - (lpRect)->left)
  4. #define RECTHEIGHT(lpRect)    ((lpRect)->bottom - (lpRect)->top)
  5.  
  6. #define SWAP(x,y)   ((x)^=(y)^=(x)^=(y))
  7.  
  8. // String Defines
  9.  
  10. #define IDS_PROGNAME        0
  11. #define IDS_WINBMP          1
  12. #define IDS_PMBMP           2
  13. #define IDS_OPENDLG         3
  14. #define IDS_SAVEDLG         4
  15. #define IDS_FILEOPEN        5
  16. #define IDS_FILESAVE        6
  17. #define IDS_RGB             7
  18. #define IDS_PM              8
  19. #define IDS_RLE4            9
  20. #define IDS_RLE8           10
  21. #define IDS_1              11
  22. #define IDS_4              12
  23. #define IDS_8              13
  24. #define IDS_24             14
  25. #define IDS_PASTE          15
  26. #define IDS_CAPTURE        16       // Window title for captured window
  27.  
  28. // Global variables.
  29.  
  30. HANDLE hInst;                   // Handle to this instance
  31.  
  32.